#! /usr/local/bin/lua

dofile("OpenGLES.lua")

local function create_mocking_files()
	local details =
	{
		func_start = "GL_APICALL",
		visability = "GL_APIENTRY",
		coreHeader = "gl2.h",
		coreInterfaceHeader = "coreGL2.h",
		coreInterfaceSource = "coreGL2.cpp",
		coreHeaderGuard = "CORE_GL2_H_",
		coreClassName = "CoreGL2",
		coreMockHeader = "coreMockGL2.h",
		coreMockHeaderGuard = "CORE_MOCK_GL2_H_",
		coreMockClassName = "CoreMockGL2",
		coreImpFile = "gl2.cpp",
		coreImpInstanceName = "imp",

		extensionHeader = "gl2ext.h",
		extensionImpFile = "gl2ext.cpp",

		gmockMaxParams = 10,
		paramWrapperPostFix = "_paramWrapper",
		gl_dir = "GLES2",
		dir = "OpenGLES2.0"
	}
	
	mock_gl(details)
end

create_mocking_files()
